package cn.ecnu.service;

import cn.ecnu.pojo.Conference;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ConferenceService extends IService<Conference> {
    List<Conference> getTop10ConferencesByViews();
    List<Conference> getTop10ConferencesByFollows();
    void incrementViews(int id);
    void incrementFollows(Long id);
    void decrementFollows(Long id);
}
